﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp11
{
    class Plus : Calculate
    {
        public override void DisplayResult()
        {
            int res = Num1 + Num2;
            Console.WriteLine("计算结果为："+res);
        }
        public Plus(int num1, int num2) :base(num1, num2)
        {
        }
    }
}
